package com.cmsky.open.base.model;

public enum ValidEnum {
	Valid(1),InValid(2);
	private int value;

	public int getValue() {
		return value;
	}

	private ValidEnum(int value) {
		this.value = value;
	}
	public static ValidEnum getByValue(Integer value){
		if(value == Valid.getValue()){
			return Valid;
		}else{
			return InValid;
		}
	}
}
